package com.goodluck.goodluckim.utils;

import android.util.Log;

import com.goodluck.goodluckim.BuildConfig;

/**
 * Created by wyj on 2018/9/11.
 */

public class LogUtil {

    public static void i(String tag, String msg) {
        if (BuildConfig.BUILD_TYPE.equals("debug")) {
            Log.i(tag, msg);
        }
    }

    public static void e(String tag, String msg) {
        if (BuildConfig.BUILD_TYPE.equals("debug")) {
            Log.e(tag, msg);
        }
    }
}
